define(['controller/appCtrl', 'controller/loginCtrl','controller/personCtrl','controller/messageContentCtrl'],
    function(appCtrl,loginCtrl,personCtrl,messageContentCtrl) {

    var module = {
        module: function(name){
            var controller;

            switch (name){
                case 'appCtrl':
                    controller = appCtrl;
                    break;
                case 'loginCtrl':
                    controller = loginCtrl;
                    break;
                case 'personCtrl':
                    controller = personCtrl;
                    break;
                case 'messageContentCtrl':
                    controller = messageContentCtrl;
                    break;

            }

            return controller;
        }
    };

    return module;

});